/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.asportoonline.business.beans;

import java.util.List;
import javax.ejb.EJB;
import javax.jws.WebService;
import javax.ejb.Stateless;
import javax.jws.WebMethod;

/**
 *
 * @author Valerio Costmagna <costamagna.valerio@gmail.com>
 */
@WebService(serviceName = "AsportoWebService")
@Stateless()
public class AsportoWebService {
    @EJB
    private WebServiceManagerLocal ejbRef;// Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Web Service Operation")

    @WebMethod(operationName = "cercaTutteLocalita")
    public List<String> cercaTutteLocalita() {
        return ejbRef.cercaTutteLocalita();
    }

    @WebMethod(operationName = "elencoLocali")
    public List<String[]> elencoLocali() {
        return ejbRef.elencoLocali();
    }

    /**
     * Web service operation
     */
    @WebMethod(operationName = "elencoProdotti")
    public List<String[]> elencoProdotti() {
        //TODO write your implementation code here:
        return null;
    }
    
}
